using System;
using System.Collections.Generic;
using SinBiota.Model.Entities;

namespace SinBiota.Model.Business.PersistenceServices.Interfaces
{
    public interface IMicroHabitatPersistenceServices
    {
        MicroHabitat FindById(int id);
        MicroHabitat FindByName(string name);
        IList<MicroHabitat> FindAll();
        void Delete(MicroHabitat microHabitat);
        void DeleteById(int id);
        void Save(MicroHabitat microHabitat);
        void Update(MicroHabitat microHabitat);
        IList<MicroHabitat> FindByNameLike(string name);
    }
}